package com.example.logistics_manage.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.logistics_manage.mapper.RoleMapper;
import com.example.logistics_manage.pojo.Role;
import com.example.logistics_manage.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleService extends ServiceImpl<RoleMapper, Role> implements IRoleService {
    @Autowired
    RoleMapper roleMapper;
    @Override
    public List<Role> findAllRole() {
        return roleMapper.selectList(null);
    }
}
